


namespace Core.Extensions
{
    using System;
    using System.Collections.Generic;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Resources;

    /// <summary>
    /// Seismics Extension class
    /// </summary>
    
    public sealed class Seismics: ExtensionBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="T:Core.Extensions.Seismics"/> class.
        /// </summary>
        public Seismics()
            : base(
                Traduction.extensions_seismics, 
                ExtensionGroupsEnum.WeaponUsage,
                3,
                0, 
                new ExtensionCost(45000,0),
                new ICondition<IExtension>[] {new ExtensionCondition<MissileLaunch>(3)} )
        {
            
            
            Modifiers = new IModifier[]
                            {
                                new Modifier(FeatureTypesEnum.Ammo, FeaturesEnum.ExplosionSize, -0.03){ Unit = UnitsEnum.Percentage, DisplayName = "Explosion size" },
                            };
        }

        /// <summary>
        /// Obtains the extension description
        /// </summary>
        public override string Description
        {
            get { return Traduction.extensions_seismics_description; }
        }
    }
}